/* 首页 */
import React from 'react';
import { connect } from 'dva';
import { Layout } from 'antd';

import IndexHeaderLayout from '../../components/layout/IndexHeaderLayout';
import IndexFooterLayout from '../../components/layout/IndexFooterLayout';

import Carouse from './_Carouse';
import Product from './_Product';
import Service from './_Service';

const { Content } = Layout;

function IndexPage() {
  return (
    <Layout style={{ minWidth: '1200px' }}>
      <IndexHeaderLayout />
      <Content className="index-content">
        <Carouse />
        <Product />
        <Service />
      </Content>
      <IndexFooterLayout />
    </Layout>
  );
}

export default connect()(IndexPage);
